﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class AdminRegistration : System.Web.UI.Page
{
    bestlifeDataContext db = new bestlifeDataContext();
    Tbl_User user = new Tbl_User();

    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void RadButton5_Click(object sender, EventArgs e)
    {
        if (pass.Text == cpass.Text)
        {
            user.Use_Name = username.Text;
            user.Pas_Word = pass.Text;
            user.Use_ID = disid.Text;
        }
        else
        {
            errormsg.Text = "Password Dose Not Match..";
        }
    }

    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
}